Page({
    data: {
        express: "",
        id: "",
        page_loading: !0,
        express_no: "",
        express_company: ""
    },
    copy: function() {
        getApp().api.setClipboardData({
            data: this.data.express_no,
            success: function(e) {
                getApp().api.getClipboardData({
                    success: function(e) {
                        console.log(e.data);
                    }
                });
            }
        });
    },
    onLoad: function(e) {
        var t = this;
       getApp().core.showLoading({
         title:'加载中'
       })
        getApp().request({
            url: getApp().api.admin.order.express_detail,
            data: {
                order_id: e.id,
                express: e.express,
                customer_name: e.customer_name,
                express_no: e.express_no
            },
            method: "get",
            success:function(a) {
              getApp().core.hideLoading()
               0 == a.code ? t.setData({
                express: a.data.express,
                id: e.id,
                express_company: e.express,
                express_no: e.express_no,
                list:a.data.list
              }) : getApp().core.showToast({
                title: a.msg,
                icon: 'none'
              });
            },
            flie: function(e) {
              getApp().coew.showToast({
                content: e.msg,
                icon:'none'
              });
            }
        });
    },
    onReady: function(e) {
        this.setData({
            page_loading: !1
        });
    },
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});